import os
from google.appengine.ext.webapp import template
from google.appengine.api import users
from google.appengine.ext import webapp

from models.Messages import *
from models.Topics import *
from models.Groups import *
from models.Users import *
from models.Audit import *
import logging

class ViewAudit(webapp.RequestHandler):
    def get(self):
        audits = Audit.all()
        template_values = {"audits":audits}
        path = os.path.join(os.path.dirname(__file__),"../templates/ViewAudit.html")
        self.response.out.write(template.render(path,template_values))
